using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Masood.MobileGames.SlidingLib.Box;
using Masood.MobileGames.SlidingLib.Abstract;

namespace Masood.MobileGames.SlidingLib.Board
{
    public class ImageGameBoard : AbstractGameBoard
    {
        public ImageGameBoard(int noOfRows, int noOfCols, int width, int height)
            : base(noOfRows, noOfCols, width, height)
        {
        }

        public override AbstractBox CreateBox(int x, int y, int counter)
        {
            AbstractBox tempBtn = new ImageBox(x + this.Left, y + this.Top, this.boxWidth, this.boxHeight);
            tempBtn.Text = counter.ToString();

            return tempBtn;
        }
    }
}
